import { service } from "@/axios/index";

export const getProjectInfo = () => {
  return service.get("/ProjectInfo").then((response) => {
    return response.data.data;
  });
};

// 产品树
export const getProjectTree = () => {
  return service.get("/ProjectInfo/tree").then((response) => {
    return response.data;
  });
};
